package com.yunhe.abnormal.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Configuration
@Component
@PropertySource({"classpath:config/systemoption.properties"})
@ConfigurationProperties
public class AnalogConfig {

    /**
     * pnType 告警类型
     */
    private String pnType;
    /**
     * pnTypes
     */
    private String pnTypes;

    public String getPnType() {
        return pnType;
    }

    public void setPnType(String pnType) {
        this.pnType = pnType;
    }

    public String getPnTypes() {
        return pnTypes;
    }

    public void setPnTypes(String pnTypes) {
        this.pnTypes = pnTypes;
    }
}
